/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ratio.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ratio.entity.Ratio;
import com.jeeplus.modules.ratio.mapper.RatioMapper;

/**
 * 积分返现比例Service
 * @author zhych
 * @version 2021-11-20
 */
@Service
@Transactional(readOnly = true)
public class RatioService extends CrudService<RatioMapper, Ratio> {

	public Ratio get(String id) {
		return super.get(id);
	}
	
	public List<Ratio> findList(Ratio ratio) {
		return super.findList(ratio);
	}
	
	public Page<Ratio> findPage(Page<Ratio> page, Ratio ratio) {
		return super.findPage(page, ratio);
	}
	
	@Transactional(readOnly = false)
	public void save(Ratio ratio) {
		super.save(ratio);
	}
	
	@Transactional(readOnly = false)
	public void delete(Ratio ratio) {
		super.delete(ratio);
	}
	
}